import React from "react";

const Instructions = ({
                          title,
                          steps
                      }) =>
    <section className="instructions">
        <h2>{title}</h2>
        {steps.map((s, i) =>
            <p>{s}</p>
        )}
    </section>

export default Instructions
